package com.carrentalssm.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.carrentalssm.dao.AdminUserDao;
import com.carrentalssm.entity.AdminUser;

//逻辑处理
@Service
public class AdminUserService {
	
	@Resource
	private AdminUserDao adminUserDao;
	
	//查询管理员
	public AdminUser selectByNamePwd(String username, String pwd) {
		return adminUserDao.selectByNamePwd(username, pwd);
	}
	
}
